package com.znsd.stu.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.znsd.entitys.ShiftDuty;

public interface Cwj_ShiftDutyDao {
	public List<ShiftDuty> getShiftByClass(@Param("classId") Integer classId);

	public ShiftDuty getById(@Param("s_id") Integer sid);

	public void update(@Param("s_id") Integer s_id, @Param("s_state") Integer s_state,
			@Param("teacherid") Integer teacherid);
	//转班申请
	public Integer addZhuanBan(ShiftDuty shiftDuty);

	public List<ShiftDuty> queryLimitUserZhuan(@Param("user_id")Integer user_id,@Param("pageIndex") Integer pageIndex,@Param("limit") Integer limit);

	public Integer queryLimitUserZhuanCount(Integer user_id);

	public Integer updateQuXiao(Integer id);
}
